home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group96a.txt / 000175_icon-group-sender _Wed Aug 7 16:01:39 1996.msg < prev    next >
Internet Message Format  |  1996-09-05  |  1KB

  1. Received: by cheltenham.cs.arizona.edu; Thu, 8 Aug 1996 08:31:26 MST
  2. Message-Id: <199608072101.RAA26561@po_box.cig.mot.com>
  3. Date: Wed, 7 Aug 1996 16:01:39 -0500
  4. From: Tony J Yeates <yeates@cig.mot.com>
  5. In-Reply-To: "Phillip L. Thomas" <ptho@loc.gov>
  6.         "Re: dos system call" (Aug  7, 10:56am)
  7. References: <199608072030.QAA24305@po_box.cig.mot.com>
  8. X-Mailer: Z-Mail (3.2.1 10apr95)
  9. To: "Phillip L. Thomas" <ptho@loc.gov>,
  10.         Roger Sorrells <X041RS@tamvm1.tamu.edu>
  11. Subject: Re: dos system call
  12. Cc: icon-group@cs.arizona.edu
  13. Mime-Version: 1.0
  14. Content-Type: text/plain; charset=us-ascii
  15. Errors-To: icon-group-errors@cs.arizona.edu
  16. Status: O
  17.  
  18. On Aug 7, 10:56am, Phillip L. Thomas wrote:
  19.  
  20. >
  21. > The system() call has another effect in DOS which is unfortunate:
  22. > it calls up another copy of COMMAND.COM, meaning you've lost another
  23. > 64K of critical memory in addition to the process you are trying
  24. > to start. Most DOS C compilers have other ways (exec..) that do not
  25. > invoke an addition COMMAND.COM, but this may again be C-compiler
  26. > dependent.
  27.  
  28.  
  29. This does not only apply to DOS,  for UNIX each system() call will also invoke
  30. a new shell (at least it does in C).
  31.  
  32. -- 
  33. Tony Yeates                         Motorola Inc, CIG
  34. Tel.:  (847)-435-9803               1501 W Shure Dr. IL27-3227AR
  35. FAX:   (847)-632-2867               Arlington Heights, IL 60004 USA
  36.